System userName Attributesystem.userName Description The userName attribute specifies the name of the user logged on to the system, and is expressed as a text string. Type String; read-only. Example confirm( "You are: " + system.userName + " running on " + system.machineName + "."); |